#include<cstring>
#include<iostream>
using namespace std;
//`1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?
//`123qjlmfp/[]456.orsuyb;=\789aehtdck-0zx,inwvg'~!@#QJLMFP?{}$%^>ORSUYB:+|&*(AEHTDCK_)ZX<INWVG"
//char qwerty[] = " `1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?";
//char dvorak[] = " `123qjlmfp/[]456.orsuyb;-\\789aehtdck-0zx,inwvg'~!@#QJLMFP?{}$%^<ORSUYB:+|&*(AEHTDCK_)ZX<INWVG\"";
char qwerty[] = "`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>? ";
char dvorak[] = "`123qjlmfp/[]456.orsuyb;=\\789aehtdck-0zx,inwvg'~!@#QJLMFP?{}$%^>ORSUYB:+|&*(AEHTDCK_)ZX<INWVG\" ";
char trans[257];
int main() {
  int len = strlen(qwerty);
  for(int i=0; i<len; ++i) {
    trans[qwerty[i]] = dvorak[i];
  }
  string line;
  while(getline(cin, line)) {
    for(char ch : line) {
      cout<<trans[ch];
    }
    cout<<"\n";
  }
  return 0;
}
